{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "### 检查环境"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "from _common import 环境初始化\n",
    "环境初始化()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {
     "name": "#%% md\n"
    }
   },
   "source": [
    "###  如果 svgwrite 或者 cairosvg 没有安装，请运行以下代码，否则跳过"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {
     "name": "#%%\n"
    }
   },
   "outputs": [],
   "source": [
    "!pip install -i http://mirrors.aliyun.com/pypi/simple/ svgwrite cairosvg"
   ]
  },
  {
   "cell_type": "markdown",
   "source": [
    "### 运行以下代码检查环境，如果没有报错，则可以运行 02.新手入门.ipynb"
   ],
   "metadata": {
    "collapsed": false,
    "pycharm": {
     "name": "#%% md\n"
    }
   }
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "outputs": [],
   "source": [
    "from _common import 环境初始化\n",
    "环境初始化()\n",
    "from IPython.display import SVG as 查看作品\n",
    "from 神笔码靓.神笔库.神笔绘图板 import 神笔绘图板\n",
    "from 神笔码靓.神笔库.定义集 import *\n",
    "from 神笔码靓.神笔库.配置 import *\n",
    "from 神笔码靓.神笔库.通用工具集 import *\n",
    "from 神笔码靓.神笔库.定义集 import *"
   ],
   "metadata": {
    "collapsed": false,
    "pycharm": {
     "name": "#%%\n"
    }
   }
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}